﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Z13qu.Model
{
    /// <summary>
    /// 登录信息
    /// </summary>
    public class Sys_UserLogon
    {
        /// <summary>
        /// 用户登录信息ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 用户秘钥
        /// </summary>
        public string UserSecretkey { get; set; }
        /// <summary>
        /// 允许登录开始时间
        /// </summary>
        public DateTime? AllowStartTime { get; set; }
        /// <summary>
        /// 允许登录结束时间
        /// </summary>
        public DateTime? AllowEndTime { get; set; }
        /// <summary>
        /// 锁定用户开始日期
        /// </summary>
        public DateTime? LockStartDate { get; set; }
        /// <summary>
        /// 锁定用户结束日期
        /// </summary>
        public DateTime? LockEndDate { get; set; }
        /// <summary>
        /// 第一次访问时间
        /// </summary>
        public DateTime? FirstVisitTime { get; set; }
        /// <summary>
        /// 上一次访问时间
        /// </summary>
        public DateTime? PreviousVisitTime { get; set; }
        /// <summary>
        /// 最后访问时间
        /// </summary>
        public DateTime? LastVisitTime { get; set; }
        /// <summary>
        /// 最后修改密码时间
        /// </summary>
        public DateTime? ChangePasswordTime { get; set; }
        /// <summary>
        /// 允许用户多端同时登录
        /// </summary>
        public bool? MultiUserLogin { get; set; }
        /// <summary>
        /// 登录次数
        /// </summary>
        public int? LogonCount { get; set; }
        /// <summary>
        /// 是否在线
        /// </summary>
        public bool? UserOnLine { get; set; }
        /// <summary>
        /// 密码提示问题
        /// </summary>
        public string Question { get; set; }
        /// <summary>
        /// 密码提示答案
        /// </summary>
        public string AnswerQuestion { get; set; }
        /// <summary>
        /// 是否访问限制
        /// </summary>
        public bool? CheckIPAddress { get; set; }
    }
}
